#include<iostream>
#include<array>
#include<cctype>
using namespace std;

int main()
{
    array<double,10>donation;
    double sum = 0;
    int i,j;
    int count = 0;
    for ( i = 0; i < 10; i++)
    {
        if ( cin >> donation[i])
        sum += donation[i];
        else
        break;
    }
    double average = sum / ( i + 1);
    for ( j = 0; j < i+1; j++)
    {
        if ( donation[i] > average)
        ++count;
    }
    cout << average << "\t" << count << endl;


    return 0;
}